#include<iostream>
#include<vector>
#include<iterator>
#include"operations_p.h"

int main()
{
	std::vector<int> v(100);
	for(int i = 0; i < 100; ++i)
		v[i] = 1;
	for_each_p(v.begin(), v.end(), [](int & a){
			a += 1;}, 3);

	std::copy(v.begin(), v.end(), std::ostream_iterator<int>(std::cout, " "));
}

	


